package io.kimmking.rpcfx.demo.consumer.filter;

import com.alibaba.fastjson.JSON;
import io.kimmking.rpcfx.api.Filter;
import io.kimmking.rpcfx.api.RpcfxRequest;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Filter1 implements Filter {
    @Override
    public boolean filter(RpcfxRequest request) {
        log.info("执行过滤器req{}", JSON.toJSON(request));
        return true;
    }
}
